package com.itwlj.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 商品评论
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Comment implements Serializable {

    private static final long serialVersionUID = 1L;

    //id
    private Long id;

    //商品id
    private Long goodsId;

    //订单id
    private Long orderId;

    //用户名
    private String userName;

    //内容
    private String content;

    //评分
    private Integer rating;
}
